package me.ingxin.android.sample.lego.utils

import android.content.Context
import android.util.Log
import android.widget.Toast

/**
 * Created by ingxin on 2022/4/27
 */

fun String.logD() {
    Log.d("Lego:Router", this)
}

fun String.toast(context: Context) {
    Toast.makeText(context, this, Toast.LENGTH_SHORT).show()
}